﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="MeusRequerimentosFuncionario.aspx.cs" Inherits="SAAC.Funcionario.MeusRequerimentosFuncionario" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:GridView ID="gvwMeusRequerimentos" runat="server" AllowPaging="True" AutoGenerateColumns="False"
        OnSelectedIndexChanged="gvwMeusRequerimentos_SelectedIndexChanged"
        datakeynames="Id">
        <Columns>
            <asp:ButtonField ButtonType="Link" CommandName="Select" Text="Selecionar" />
            <asp:BoundField DataField="AlunoRequerinte.Matricula" HeaderText="Matrícula do Aluno"
                InsertVisible="False" ReadOnly="True" />
            <asp:BoundField DataField="Abertura" HeaderText="Data de Abertura" InsertVisible="False"
                ReadOnly="True" />
            <asp:BoundField DataField="Fechamento" HeaderText="Data de Fechamento" InsertVisible="False"
                ReadOnly="True" />
            <asp:BoundField DataField="Status" HeaderText="Status" InsertVisible="False" ReadOnly="True" />
            <asp:BoundField DataField="Comentarios" HeaderText="Comentários" InsertVisible="False"
                ReadOnly="True" HtmlEncode="False" />
        </Columns>
    </asp:GridView>
    <div class="title" float:left position: relative>
        <asp:Panel runat="server" ID="pnlRequerimento" Visible="false">
            <div>
                <asp:TextBox runat="server" ID="txtId" Visible="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblMatriculaAluno" Text="Matrícula do Aluno:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtMatriculaAluno" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblDataAbertura" Text="Data de Abertura:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtDataAbertura" Enabled="false"></asp:TextBox><br />
            </div>
            <div>
                <asp:Label runat="server" ID="lblFechamento" Text="Data de Fechamento:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtFechamento" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblStatus" Text="Status:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtStatus" Enabled="false"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblComentarios" Text="Comentários:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtComentarios" TextMode="MultiLine" Enabled="false"></asp:TextBox>
            </div>
            <asp:Button runat="server" ID="btnReprovarRequerimento" Text="Reprovar Requerimento"
                OnClick="btnReprovarRequerimento_Click" />
            <asp:Button runat="server" ID="btnFinalizarRequerimento" Text="Finalizar Requerimento"
                OnClick="btnFinalizarRequerimento_Click" />
            <asp:Button runat="server" ID="btnEncaminharProcesso" Text="Encaminhar Processo"
                OnClick="btnEncaminharProcesso_Click" Visible="false" />
        </asp:Panel>
        <br />
        <asp:Label runat="server" ID="lblMensagem" ForeColor="Red"></asp:Label>
    </div>
    <div class="title" float:left position: relative>
        <asp:Panel runat="server" ID="pnlProcesso" Visible="false">
            <div>
                <asp:Label runat="server" ID="lblNumeroProcesso" Text="Número do Processo:"></asp:Label><br />
                <asp:TextBox runat="server" ID="txtNumeroProcesso"></asp:TextBox>
            </div>
            <div>
                <asp:Label runat="server" ID="lblColegiado" Text="Colegiado: "></asp:Label><br />
                <asp:DropDownList runat="server" ID="ddlColegiado" AutoPostBack="true">
                </asp:DropDownList>
            </div>
        </asp:Panel>
    </div>
</asp:Content>
